<?php
/**
 * Created by ThinkPHP5.0.22.
 * User: 小涛.
 * Date: 2018/12/23.
 * Time: 21:46.
 */

return [
    //系统功能
    [
        'title' => '系统功能',
        'list' => [
            [
                'title' => '系统',
                'list' => [
                    [ 'title' => '系统首页', 'url' => 'admin/Index/index'],
                    [ 'title' => '清除缓存', 'url' => 'admin/Upload/getcaching'],
                ]
            ],
            [
                'title' => '图片管理',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/Upload/index'],
                    [ 'title' => '删除', 'url' => 'admin/Upload/getdelete'],
                ]
            ],
            [
                "title" => '系统配置',
                'list' => [
                    [ 'title' => '系统配置', 'url' => 'admin/Config/index']
                ],
            ],
        ]
    ],
    //数据库安全
    [
        'title' => '数据库安全',
        'list' => [
            [
                "title" => '数据库',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/Backups/database'],
                    [ 'title' => '数据库备份', 'url' => 'admin/Backups/add'],
                    [ 'title' => 'sql优化', 'url' => 'admin/Backups/optimization'],
                ],
            ],
            [
                'title' => '备份记录',
                "list" => [
                    [ 'title' => '查看', 'url' => 'admin/Backups/index'],
                    [ 'title' => '删除', 'url' => 'admin/Backups/delete'],
                    [ 'title' => '下载', 'url' => 'admin/Backups/download'],
                ],
            ]
        ],
    ],
    //系统权限
    [
        'title' => '系统权限',
        'list' => [
            [
                'title' => '管理权限列表',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/UserType/index'],
                    [ 'title' => '添加', 'url' => 'admin/UserType/add'],
                    [ 'title' => '编辑', 'url' => 'admin/UserType/edit'],
                    [ 'title' => '删除', 'url' => 'admin/UserType/delete'],
                ]
            ],
            [
                'title' => '用户管理列表',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/User/user'],
                    [ 'title' => '添加', 'url' => 'admin/User/add'],
                    [ 'title' => '编辑', 'url' => 'admin/User/edit'],
                    [ 'title' => '禁用和启用', 'url' => 'admin/User/getenable'],
                ]
            ],
        ],
    ],
    //会员用户
    [
        'title' => '会员用户',
        'list' => [
            [
                'title' => '会员信息',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/Member/index',],
                ],
            ],
            [
                'title' => '会员地址',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/address/index' ],
                ],
            ],
        ]
    ],


    //banner图片
    [
        'title' => 'banner图片',
        'list' => [
            [
                'title' => '活动banner图片轮播',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/Banner/index'],
                    [ 'title' => '编辑', 'url' => 'admin/Banner/add'],
                    [ 'title' => '排序', 'url' => 'admin/Banner/Sort'],
                ],
            ],
            [
                'title' => '商品banner图片轮播',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/GoodsBanner/index'],
                    [ 'title' => '编辑', 'url' => 'admin/GoodsBanner/add'],
                    [ 'title' => '排序', 'url' => 'admin/GoodsBanner/Sort'],
                ],
            ],
        ],
    ],
    //新闻资讯
    [
        'title' => '资讯中心',
        'list' => [
            [
                'title' => '资讯类型列表',
                'list' => [
                    ['title' => '查看', 'url' => 'admin/NewsType/index'],
                    ['title' => '添加', 'url' => 'admin/NewsType/add'],
                    ['title' => '编辑', 'url' => 'admin/NewsType/edit'],
                    ['title' => '删除', 'url' => 'admin/NewsType/delete'],
                    ['title' => '排序', 'url' => 'admin/NewsType/sort'],
                ],
            ],
            [
                'title' => '资讯列表',
                'list' => [
                    ['title' => '查看', 'url' => 'admin/News/index'],
                    ['title' => '添加', 'url' => 'admin/News/add'],
                    ['title' => '编辑', 'url' => 'admin/News/edit'],
                    ['title' => '删除', 'url' => 'admin/News/delete'],
                    ['title' => '排序', 'url' => 'admin/News/sort'],
                ],
            ],
         ]
    ],



    //商城管理
    [
        'title' => '商品管理',
        'list' => [
            [
                'title' => '商品分类',
                'list' => [
                    [ 'title' => '列表查看', 'url' => 'admin/GoodsType/index',],
                    [ 'title' => '添加', 'url' => 'admin/GoodsType/add',],
                    [ 'title' => '编辑', 'url' => 'admin/GoodsType/edit',],
                    [ 'title' => '删除', 'url' => 'admin/GoodsType/delete',],
                    [ 'title' => '排序', 'url' => 'admin/GoodsType/sort',],
                ],
            ],
            [
                'title' => '商品管理',
                'list' => [
                    [ 'title' => '出售中的商品', 'url' => 'admin/Goods/index' ],
                    [ 'title' => '仓库中的商品', 'url' => 'admin/Goods/warehouse' ],
                    [ 'title' => '添加', 'url' => 'admin/Goods/add' ],
                    [ 'title' => '编辑', 'url' => 'admin/Goods/edit' ],
                    [ 'title' => '删除', 'url' => 'admin/Goods/delete' ],
                    [ 'title' => '产品上架/下架', 'url' => 'admin/Goods/is_show' ],
                ],
            ],
        ],
    ],
    //物流设置
    [
        'title' => '物流配送',
        'list' => [
            [
                'title' => '设置发货地址',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/ShopAddress/index',],
                    [ 'title' => '添加', 'url' => 'admin/ShopAddress/add',],
                    [ 'title' => '编辑', 'url' => 'admin/ShopAddress/edit',],
                    [ 'title' => '删除', 'url' => 'admin/ShopAddress/delete',],
                ],
            ],
            [
                'title' => '物流配送',
                'list' => [
                    [ 'title' => '查看', 'url' => 'admin/Express/index'],
                    [ 'title' => '更新状态', 'url' => 'admin/Express/status' ],
                ],
            ],
        ],
    ],



];